package com.qfedu.yanglao20app.companionapp.service.impl;

import com.qfedu.yanglao20.entity.adhibition.Adhibition;
import com.qfedu.yanglao20app.companionapp.dao.CompanionAdhibitionDao;
import com.qfedu.yanglao20app.companionapp.service.CompanionAdhibitionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 应用服务项目Service层
 */
@Service
public class CompanionAdhibitionServiceImpl implements CompanionAdhibitionService {

    @Resource
    private CompanionAdhibitionDao companionAdhibitionDao;

    /**
     * 查询所有的服务项目信息
     *
     * @return 服务项目信息列表
     */
    @Override
    public List<Adhibition> selectAll() {
        return companionAdhibitionDao.selectList(null);
    }
}
